package com.xitang.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("biz_user")
public class BizUser extends Model<BizUser> {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String vxId;
    private String vxUsername;
    private String phone;
    private String company;
    private Integer status;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
